all : server.c client.c
	@echo Building...
	@gcc -g -lrt -o service server.c
	@gcc -g -lrt -lm -o client client.c
	@echo Done!
	@cp service ./bin
	@rm service
	@cp client ./bin
	@rm client
	@echo Now run './bin/service start/stop'

.PHONY : clean

clean :
	@rm ./bin/service
	@rm ./bin/client
	@rm read.*
	@rm sectors.*
	@echo Cleaned!
